package com.lcgroup.springdemo.demos.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.slf4j.Marker;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class ZSException extends RuntimeException{
    private String message;
    public ZSException(String message){
        this.message=message;
    }
}
